/**
 * 
 */
package com.hb.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hb.dao.CategoryDao;
import com.hb.dao.RoleDao;
import com.hb.model.Category;
import com.hb.service.CategoryManager;

/**
 * @author Pham Hong Hung
 *
 */
@Service("categoryManager")
public class CategoryManagerImpl extends GenericManagerImpl<Category, Long>
		implements CategoryManager {

	CategoryDao categoryDao;
	@Autowired
    public CategoryManagerImpl(CategoryDao categoryDao) {
        super(categoryDao);
        this.categoryDao = categoryDao;
    }
	@Override
	public List<Category> getAll() {
		// TODO Auto-generated method stub
		return this.categoryDao.getAll();
	}

}
